"DESCRIPTION 2"="Be VERY VERY careful with this option, if you disable compression while currently using it, you will not be able to access the drive any more!"
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
sF="C:\MSDOS.SYS"
sO="OPTIONS"
Sub Plugin_Initialize
Call FileSetAttribute(sf,"S-")
Call FileSetAttribute(sf,"R-")
Call FileSetAttribute(sf,"H-")
Call ReadItem("DBLSpace",1)
Call ReadItem("DRVSpace",2)
End Sub
Sub ReadItem(Name,UIElem)
i=IniReadValue(sf,so,Name)
if IsEmpty(i) then
SetUIElement UIElem,true
else
if IsNumeric(i)=true then
if i=1 then SetUIElement UIElem,true
else
Call MsgWarning("WARNING! Unexpected Value found for option <" & NAME & "> - the value is: " & i)
SetUIElement UIElem,true
end if
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
'X-Setup 2.0 has had problems with this settings so USE THE SAFE WAY by